<?php
load_ctl("admin_Common");
load_model('Topic');
class Admin_TopicController extends Admin_CommonController {
	var $topic;
	function init(){
		parent::init();
		$this->topic = new topic();
		
	}
	function indexAction(){
		$this->view->title = "站点信息";
		$this->view->topic_list = $this->topic->get_topic_list();
		$this->view->mainphp = 'views/scripts/admin/index/topic.phtml';
		echo $this->view->render("index.phtml");
	}
}
?>